package com.cskaoyan.mall.model.po;

import java.util.List;

/**
 * @ClassName: Goods
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/6/30 10:06
 * @Version
 **/
public class Goods {
    private Integer id;
    private Integer typeId;
    private String name;
    private String image;
    private String description;
    private String price;
    private String stocknum;
    private List<Type> typeList;


    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStocknum() {
        return stocknum;
    }

    public void setStocknum(String stocknum) {
        this.stocknum = stocknum;
    }


    public Goods() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image =image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public List<Type> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<Type> typeList) {
        this.typeList = typeList;
    }

    public Goods(Integer id, Integer typeId, String name, String image, String description, String price, String stocknum) {
        this.id = id;
        this.typeId = typeId;
        this.name = name;
        this.image = image;
        this.description = description;
        this.price = price;
        this.stocknum = stocknum;
    }
}
